

<template>
  <h1>选择您的城市</h1>
  <el-select v-model="tem" style="width: 50%" placeholder="选择你的城市">
    <el-option v-for="ci in city"  :value="ci.T" :label="ci.name" ></el-option>
  </el-select>



</template>

<script setup>
  import {ref} from "vue";

  const tem = ref(29);

  const city=ref([
      {name:"北京",T:29},
      {name:"重庆",T:39},
      {name:"长春",T:33},
      {name:"武汉",T:35},
      {name:"上海",T:49}
  ])

</script>

<style scoped>

</style>